home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 10 - 1994 / 10.12 Dec 94 / ThreadedSprocket / Interfaces / AEThreads.h next >
Encoding:
Text File  |  1994-10-17  |  612 b   |  32 lines  |  [TEXT/MPS ]

  1. //    AEThreads.h
  2. //
  3. //    Copyright © 1993-94 Steve Sisak
  4. //    
  5. //    License is granted to use, modify, make derivative works, and 
  6. //    duplicate this code at will, so long as this notice remains intact.
  7. //
  8.  
  9. #ifndef __AETHREADS__
  10. #define __AETHREADS__
  11. #pragma once
  12.  
  13. #ifndef __APPLEEVENTS__
  14. #include <AppleEvents.h>
  15. #endif
  16. #ifndef __THREADS__
  17. #include <Threads.h>
  18. #endif
  19.  
  20.  
  21. pascal OSErr AEInstallThreadedEventHandler(
  22.                     AEEventClass        theAEEventClass,
  23.                     AEEventID            theAEEventID,
  24.                     AEEventHandlerUPP    proc,
  25.                     long                handlerRefcon,
  26.                     ThreadOptions        options,
  27.                     Size                stacksize);    
  28.  
  29.  
  30.  
  31.  
  32. #endif // __AETHREADS__